package cc.wanforme.fsync.server.mapper;

import cc.wanforme.fsync.entity.po.TickTaskGroup;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TickTaskGroupMapper extends BaseMapper<TickTaskGroup> {

    List<TickTaskGroup> listByTask(Long taskId);

    TickTaskGroup getByTaskAndGroup(@Param("taskId") Long taskId, @Param("groupMapId")  Long groupMapId);

    void deleteByTask(Long taskId);

    void deleteByGroupMap(Long groupMapId);

}
